package com.chenyue.cm.user.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;

import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.base.dao.LcBaseMapper;
import com.chenyue.cm.user.service.JdLabelService;
import org.springframework.beans.factory.annotation.Qualifier;
import com.chenyue.cm.user.dao.JdLabelMapper;
import com.chenyue.cm.user.domain.JdLabel;
import org.springframework.stereotype.Service;


/**
 * @author chenyue-cm
 */
@Service(value = "JdLabelService")
public class JdLabelServiceImpl extends BaseServiceImpl<JdLabel> implements JdLabelService {

    private final JdLabelMapper jdLabelMapper;

    public JdLabelServiceImpl(@Qualifier("jdLabelMapper") JdLabelMapper jdLabelMapper) {
        this.jdLabelMapper = jdLabelMapper;
    }

    @Override
    @Resource(name = "jdLabelMapper")
    public void setBaseMapper(LcBaseMapper<JdLabel, Serializable> baseMapper) {
		this.baseMapper = baseMapper;
	}

}
